working examples from reading through the book: test driven development with python