DownloadManager unit tests