Improve DownloadManager shadow and add tests.
Merge pull request #874 from pivotal-odell/shadow-download-manager

Improve DownloadManager shadow and add tests.