PhantomJS tests now working