Add tests for MatchHelper.