Updated the file-upload test to run on PhantomJS.