write test code

using rspec
mergerequest test and get issue test
fixes #14
Merge pull request #15 from numa08/rspec/fix#14

write test code