modify testcase tree