Updated PersistenceTest to enable running everything as a unit test