fixed jpql generation tests.