PhantomJS tests updated