testing parent-child nodes