test case cleanup