The first test case in EventDispatcherTest works ok.