Cleanup C++ test.