persistence.xml configuration and JUnit test case to test persistence