Add PhantomJs tests.