example of Test-driven development: By Example