adding chapter 2 examples, rspec and Unit::Test