unit test console output cleanup