Add test

ref: #9
Merge pull request #10 from ykzts/add-test

Add test