Complete Ch 5 exercises: refactoring rspec