fix failing JPA tests