[+] added download with reload after unsuccessful attempt
[+] added tests