Add event dispatcher test.