NodeTest: Minor fix to isOrdered check