JApplicationBaseTest::testRegisterEvent

Tests the JApplicationBase::registerEvent method.