Add test for EventQueryListener in EventDispatcher