Removed the HibernateTemplate from the unit tests and replaced with the SessionFactory (like the master branch)