run phantomjs test on local webserver