Add Test::Case#match_tags?

This is hacky, but it allows us to only compile in the right hooks from the front-end.