modified the Rspec test