making the persistence test more robust