Test with phantomjs mocha