Fix test wrt unused warning.