Add missing test cases for download.py and and updater.py.