fix console appender for test.