test_upload_with_upload