Extracted BaseImageDownloaderTest in preparation for test cases for
the download to disk class.