Test-Driven Development with Python, examples from the book