[Process] Add some tests to process manager