add final tests for checkSequence