Refactored tests so that common functionality such as DB configuration and hibernate session setup required by multiple tests is in central place. Hibernate session factory creation (via HibernateUtil, ManagerFactory, ServiceFactory etc.) is now done in single places and is reused by all tests, instead of creating Hibernate session per test class, which was very expensive. Reduced some Hibernate log noise. Removed some un-necessary classes.