Example from O'Reilly book: Test-Driven Development.