BS-1614, fix method isInvolvedInProcess and update test