Fix tests.
Merge pull request #817 from segfaulthunter/pytestblah

Fix download tests.