JFactoryTest::testGetApplication

Tests the JFactory::getApplication method.