Implemented the CollectionMock.remove method