Fix TestDownload tests