Add test for GH #244

This issue reports problems with uninitialized warnings when
using capture groups that don't match
Fix GH #244

Uninitialized warnings when part of a capture didn't match