adding tests for the uploader