Add test fro wf-restarter.
Refactoring test for wf-restarter.
Merge branch 'feature/restart-processes'