Added tests for multiple calls to ConsoleWrite