Run tests with PhantomJS if local