add testcase for multiple match groups