refactoring: add test for process utils