fixed Text type
tests for Text type
fixed NText type
tests for NText type