add test codes
Merge pull request #1 from norifumi/add_spec

add test codes