minimal test of parsing a non-string CharSequence
document expected type of text argument with a hint
string->segment -> text->segment