add tests for UploadOperation