`Client.upload` tests.