Added testcases for download_handler