Added PhantomJS test support.