Bugfix in CollectionMock.insert