Merge pull request #18 from sogko/master

Created unit tests for scripts/download.js using Mocha