Code from chapter 2 of RIA, Unit::Test and Rspec