Testing and developing JPA Entities