JUnit Persistence test upgraded