Added gtest test.