Example of mocking with requirejs dependencies being mocked and ran in karma with jasmine