tests: fix and add lint for non-portable seq