Test that StringMatcher returns