Implemented tests for ConcurrentModificationException