Hibernate tests botless refactoring