tests: should not crash if there is an error on sequence detection
code formatting
tests: use CHECK_EQUAL