Test coverage for initialize_logging_to_console.