Bugfix in Persistence, Updated JUnit test