Chapter 7. Task B: Validation and Unit Testing