CB-5125 add tests for chil process spawn