Cleaned up some test code in DownloadManager