Added a test for list of event handlers.