write tests for process_coordinator

This will increase the overall coverage. Still working on other tests.