TDD browserified code with Mocha, PhantomJS and WebDriver