Added a text writer, the test is still in there :D