fix some issues in hello-cpp
Add hello-cpp tests