TST: Fixed error in pre_order() test