JApplicationWebTest::testRegisterEvent

Tests the JApplicationWeb::registerEvent method.