Add testing with PhantomJS