Added method to download a file from github repo

Updated test script