PER-107: updated WikiaBaseTest::mockGlobalFunction