delete useless stentment and add new testcase