Text widget, data item and tests