Moves clFinish(queue) to corret location in tree_test