add junit test for UserDaoTests and hibernate configuration on
production