added tests for c++ server