Migrated remaining tests from testdownload.py