fixed rspec tests to reflect the change