Adds a test for concurrent modification exceptions.