Fixed download_handler testcase