This unit test needs to be rewritten:
- It is unnecessarily async. It loads mobile.search.beta despite stubbing it. SearchApi should be fine for this.
- Stubbing should happen in teardown/tear up
- It causes failures in plain mode
- Don't rely on M.on - it just confuses what is being tested