Switch tests to PhantomJS