BS-10842 : Delete all waiting event & job quartz when deleting a process instance

- Add unit tests