added tests for collection modification