Separate populating and checking if `tempVars` is empty
Add test case that references an excluded empty matcher group