process executor: add unit tests for debug mode