test parent link of text nodes