Run tests in PhantomJS