test case for upload-file service