testcases cleanup