fix test checkSequence