Added tests for ConsoleDataWriter
Fixed ConsoleTemplate output