Simple test for JPA Criteria