FIX Wrong variable name breaking data downloads

Also improves some related docstrings.
Simple test of download functionality
Skip download test if no internet connection available
Merge pull request #588 from rgoj/fix-recently-introduced-download-bug

FIX: Wrong variable name breaking data downloads