Tweaked CopyOnWriteIteratorTest to remove some unchecked warnings