update testcase according to the new TestRepo