Actually I am not sure what this test is trying to achieve. Check how a process behaves w.r.t. signals after fork?
Why are we not using supervisors, or monit?