Add some basis c++ test to c++