Cleanup a test