Support operation for Text.
Add tests for Text operations.