Some C++ tests