Minor improvement of wordtest.py.