partially fix testDownload