move to headless testing from chrome to phantomjs