diff --git a/library/Class/WebService/Afi.php b/library/Class/WebService/Afi.php
index 1d45eb57596a5fc5be485e7f01bd3a079f6b5311..44f7fcb824a5c08cc6125d59cda1fe7ff70eb3be 100644
--- a/library/Class/WebService/Afi.php
+++ b/library/Class/WebService/Afi.php
@@ -46,7 +46,9 @@ class Class_WebService_Afi extends Class_WebService_Abstract {
     TRAILER_ENABLED = 0,
     TRAILER_DISABLED = 1;
 
-  protected static $_key;
+  protected static
+    $_key,
+    $_should_throw_error;
 
   /** @category testing */
   public static function setKey($key) {
@@ -61,6 +63,11 @@ class Class_WebService_Afi extends Class_WebService_Abstract {
   }
 
 
+  public static function shouldThrowError($should) {
+    static::$_should_throw_error = $should;
+  }
+
+
   public function getBiography($args) {
     return array_merge(['statut_recherche' => 1,
                         'erreur' => '',
@@ -252,6 +259,10 @@ class Class_WebService_Afi extends Class_WebService_Abstract {
 
     $url = $url_service . '?' . http_build_query($args);
 
+    if (static::$_should_throw_error)
+      return $response = $this->httpGet($url, $options);
+
+
     try {
       $response = $this->httpGet($url, $options);
       static::_goGoGadgetoLog();
diff --git a/library/templates/Intonation/View/RenderInterviews.php b/library/templates/Intonation/View/RenderInterviews.php
index 19b996dc24420f88a8da577133c956be0dc108a0..03089f57cdba91e8fc89306df75e51680392c541 100644
--- a/library/templates/Intonation/View/RenderInterviews.php
+++ b/library/templates/Intonation/View/RenderInterviews.php
@@ -43,6 +43,6 @@ class Intonation_View_RenderInterviews extends ZendAfi_View_Helper_BaseHelper {
                                               $interview->getDescription())));
       };
 
-    return $this->view->renderCarousel($interviews, $callback);
+    return $this->view->layoutCarousel($interviews, $callback);
   }
 }
diff --git a/tests/scenarios/Templates/TemplatesTest.php b/tests/scenarios/Templates/TemplatesTest.php
index 42724bebfade145fe8e96609553216b756e98a25..eec4473a9c53633d6b0637a7d010c10a45dead11 100644
--- a/tests/scenarios/Templates/TemplatesTest.php
+++ b/tests/scenarios/Templates/TemplatesTest.php
@@ -1476,6 +1476,31 @@ class TemplatesDispatchRecordAuthorTest extends TemplatesIntonationTestCase {
                               'type_doc' => 8,
                               'clef_oeuvre' => 'THE BOOK OF SOULS',
                               'facettes' => 'G13 M12 A2408']);
+
+    $httpClient =
+      $this->mock()
+           ->whenCalled('open_url')
+           ->with('https://www.youtube.com/feeds/videos.xml?channel_id=123')
+           ->answers('')
+           ->whenCalled('open_url')
+           ->with('https://cache.org?auteur=Iron+Maiden&width=500&src=99aed22943ef35851f70f99965a44690&api=2.0&action=7')
+           ->answers(['source' => 'http://ina.fr',
+                      'videos' => [['titre' =>'abcdef',
+                                    'player' => 'src="http://mycontent.org/interview"',
+                                    'contenu'=>'Mycontent']]
+                      ])
+           ->beStrict();
+
+    Class_CosmoVar::setValueOf('url_services', 'https://cache.org');
+    Class_WebService_Afi::shouldThrowError(true);
+    Class_WebService_Afi::setHttpClient($httpClient);
+  }
+
+  public function tearDown() {
+    Class_WebService_Afi::shouldThrowError(false);
+    Class_WebService_Afi::setHttpClient(null);
+
+    parent::tearDown();
   }