Added more test cases for JPQL queries