fix(test): Force focus in Mocha tests.

From my tests `window.focus();` works well for PhantomJS and Sauce Labs.

Due to the focus requirement if you run the tests on local Selenium then you must keep the browser focused. I am using an alert in the PR because I feel like console.log is not enough and will cause inconsistency in test results.