Test warning format