jpa entity and testcase