belatedly began writing rspec tests