improving the rspec test suite