added rspec test suite