added rspec test