Fix download unit tests.