Add tests for the upload and download commands.