hartle chapter 3 sample app with Rspec test