added tests when wikiRail does not exist
Merge pull request #2716 from Wikia/Aden-914-jsunit-test-failed

added tests when wikiRail does not exist