add test for named capture groups