Add a test for non capturing groups