add a unit test for the dual uploader.