Add unit test using gtest #21