fixed rspec test