test for process corpus