Added RSpec tests and modified stati pages in chapter 3