JFactoryTest::testGetDocument

Tests the JFactory::getDocument method.