Test the BaseMatcher class