Unit test checks and C++ compatibility