add example unit case by gtest