added an rspec test