Fixed rspec test