updates to rspec tests