test tree copy