DAR-1058: Unit tests and small changes in WikiFactory::testGetLocalEnvURL