updated rspec test