run phantomjs test.