add an example for c/c++ unittest