fix task testcases