Updated TestPersistence and testing now works