chore(test): Add test for process instance ctrl

- add testcases to test the selection behavior (from tree to diagram and
  from diagram to tree) in the process instance controller

related to CAM-719