textExtraction update, add textAttribute & add tests. Fixes #154