Fixed broken DownloadClient tests