Test case cleanup