fix bug about testcase