Testing node with mocha and phantomjs