adding gtest test codes
Merge pull request #3 from hyaguchijsk/feature/add_test

adding gtest test codes