test.py: more python-2.5 support (process.terminate)