Switch testing to PhantomJS