Add unit test for process.