Testing with Selenium using PhantomJS