Moved example for namedCaptures into unittest block
Corrected off-by-one error in NamedGroupRange.back
Added additional unittests for namedCaptures