Adding more structure to (and cleaning up) test_29.py.