test phantomjs