Revise test_download.py

This PR brings the usage of `pytest` into line with that used throughout our Python tests.

The relevant tests should still pass.