SI-6210 Test case for already-fixed pattern matcher bug

The fix arrived in SI-6022 / #1100 / 2.10.0-M7.
Merge pull request #2293 from retronym/ticket/6210

SI-6210 Test case for already-fixed pattern matcher bug