Added tests for [SHZ]SCAN with MATCH.