Fixing an issue where global Jasmine functions weren't getting overriden.