[CB-2213] Added a test for FileTransfer.upload.