add spec
Merge pull request #5 from zhanghong/add_rspec

add spec