Added googletest test case.