BS-9915 : Fix random test in error on TimerEventSubProcessTest

- Rewrite the test