fix download issue
refactor assert code and add new testcase