raise error when trying to upload a non existent file and add unit tests for FileTransfer
fix broken integration tests
add tests for file transfer and raise an error if trying to copy a file from a closed remote_file
adding tests for remote files