[tests] use match tests also for regex
[tests] first try to test regex extractions