Add test code to process.py.