running phantomjs tests