swh/deposit/client: Add more coverage and types
This renames some variables with more meaningful names. This also fixes some mistyped methods.
Related to #2996 (closed)
(to check jenkins coverage)
Test Plan
tox
Migrated from D5768 (view on Phabricator)