Corrected rspec test