Added coverage for parent and child relationships