Add unit test
Merge pull request #2 from ichigotake/add-test

Add unit test