Add upload_cmd.
More tests.
Add more.