a sample application showing how to write unit test in c++