Added PhantomJS tests