Example code from TDD w/Python by Harry J.W. Percival (Obey the Testing Goat!!)