Adding test coverage for create_sys_log_handler.