[test] remove parent reference in treebuilder test