Adding more tests for the TagHandler. Created a custom RegexMatcher so that we can test the generated version matches an expected regex.