Rspec tests of Ruby classes