Testcase for overlap in matchall
new offset should be one index higher than start index of last match