Final Hibernate HQL and Criteria Tests