test for parent id copying