add rspec, fix a typo