test for bad #parent in parse tree