Added some C++ tests