JEventDispatcherTest::testRegisterException

Test JEventDispatcher::register() with an error.