def METHOD_NAME(self, encoding="ascii"):
    str_length = randint(1, 8)
    str_value = ''.join(choice(ascii_lowercase) for _ in range(str_length))
    configs = [{
        "key": "stringVar",
        "is_ts": True,
        "type": "string",
        "start": 0,
        "length": str_length,
        "encoding": encoding
    }]
    can_data = str_value.encode(encoding)
    tb_data = self.converter.convert(configs, can_data)
    self.assertEqual(tb_data["telemetry"]["stringVar"], str_value)