test for tlv_value_str