Added some new C++ tests