Create a properties object named hibernateProperties, and include the default in the normal applicationContext. In your test configuration load an extra xml file overriding those properties.
Code:
<bean id="hibernateProperties" class="PropertiesFactoryBean">
<property name="properties">
<value>
transaction.manager_lookup_class=org.hibernate.transaction.ResinTransactionManagerLookup
<value>
</property>
</bean>
In some applicationContext-test.xml
Code:
<bean id="hibernateProperties" class="PropertiesFactoryBean">
<property name="properties">
<value>
//some hibernate properties
<value>
</property>
</bean>
<bean id="transactionManager" class="HibernateTransactionManager">
.. other properties
</bean>
In your test case make sure the applicationContext-test.xml is loaded AFTER your other xml file. And you should be good to go.