add get_child_refs, tests are ok