updates to the rspec tests