Exercises from Harry Percival's book on TDD with Python