1. Added VisibleForTesting annotation, inspired by @VisibleForTesting from Google's Guava library
2. Added logic to start storing regex groups when regex matches during request verification