Add tests for Node._message_to_parent