mocha/phantomjs unit test harness