MDL-40250 phpunit: Add unit tests for core_files_external::upload()
temp2