Add simple tests for the download method.

This is the most important part of the component.  Having simple tests
should prevent future breakages.