Added C++ tests