added a test for parent-child relationships