Tree structure test