Cleanup of test case