Add tests for killNode.