Move tmx test text chunk to file

Also clean up some review comments