spec: add test case for incremental last-pattern
Fix not to insert unexpected separator