Tests for PersistenceHelper cleanup.