codes for following the tutorial Test Driven Development with Python