fixed bug in signal test where child has been killed too early