test.py: can be run with python-2.5
test.py: more python-2.5 support (process.terminate)
Merge pull request #1059 from aapo/master

running test.py with python-2.5