TDD for browserified code with Mocha, PhantomJS and WebDriver