DAR-1058: Small changes in WikiFactory::testGetLocalEnv