Add test to ensure storage/objstorage consistency is kept at all times
Summary:
The behavior of storage when the underlying objstorage had an exception was
never actually tested. This new test weeded out a bug in the threaded
implementation for copy_to.
Test Plan: the new test passes
Reviewers: Reviewers!
Differential Revision: https://forge.softwareheritage.org/D330