Improve coverage in PersistenceManager