Adds basic test for TextStream
Merge pull request #258 from botic/textstream-test

Adds a basic test for TextStream and more specific doc