Chapter 5 TDD exercises