now with a C++ test too