Fix ordering test