clean up testcase