fix testPersistenceUpgrade