limit use of C++ to test code