diff --git a/tests/library/CMService/MaxMindTest.php b/tests/library/CMService/MaxMindTest.php
index <HASH>..<HASH> 100644
--- a/tests/library/CMService/MaxMindTest.php
+++ b/tests/library/CMService/MaxMindTest.php
@@ -786,6 +786,31 @@ class CMService_MaxMindTest extends CMTest_TestCase {
         );
     }
 
+    /**
+     * @expectedException CM_Exception
+     * @expectedExceptionMessage Unknown country code
+     */
+    public function testExceptionUpdateRegionNameInUnknownCountry() {
+        $this->_import(
+            array(
+                array('France', 'FR'),
+            ),
+            array(
+                array('FR', 'A7', 'Haute-Normandie'),
+            ),
+            array(),
+            array()
+        );
+        $this->_import(
+            array(),
+            array(
+                array('FR', 'A7', 'Normandie'),
+            ),
+            array(),
+            array()
+        );
+    }
+
     protected function _import($countryDataMock, $regionDataMock, $locationDataMock, $ipDataMock) {
         $maxMind = $this->getMock('CMService_MaxMind', array('_getCountryData', '_getRegionData', '_getLocationData', '_getIpData'));
         $maxMind->expects($this->any())->method('_getCountryData')->will($this->returnValue($countryDataMock));
Added test for renamed region in unknown country