Fixing the persistence test