Fix test_delegations.py
Made changes that ensure it raises correct exception based on the refactored version of updater.py and download.py