Test validation messages generation