Add PhantomJS support in the unit tests.