add a gtest test case.