MDL-22236 webservice upload files: Update unit tests