Port Text_Text / write unittests