Add tests for the Python programs

Adjust 06-the-one/tf-06.py to avoid adding an extra blank line at the
end, so it will pass the tests.
Merge pull request #1 from bruceadams/add-tests

Add tests for the Python programs