Add unit test for EventDispatcher listener list snapshotting