test JPA failed