adding C++ api walkthrough test code.