Add tests for PersistentCollection