Mock web requests in download spec. Fixes #347