fix test for jpa