Fix layout in TextWriterSink

- Removed warnings for unused event in tests.
Merge branch 'develop'