Testing Hibernate 4