Wrote simple mocha-phantomjs test