Fix test_delegations.py 

Made changes that ensure it raises correct exception based on the refactored version of updater.py and download.py

Test:
(tuf)yuyuzheng@ubuntu:~/Documents/tuf/tests/integration$ python test_delegations.py 
.....
----------------------------------------------------------------------
Ran 5 tests in 14.928s

OK