ch7 Validation and Unit-Testing