fix TreeLocTest