Make sure we return correct response status code on error.
diff --git a/libcloud/test/dns/test_digitalocean.py b/libcloud/test/dns/test_digitalocean.py
index 7e2c54e..7a4e7c1 100644
--- a/libcloud/test/dns/test_digitalocean.py
+++ b/libcloud/test/dns/test_digitalocean.py
@@ -122,7 +122,7 @@
     def _v2_domains_CREATE(self, method, url, body, headers):
         if body is None:
             body = self.fixtures.load('_v2_domains_UNPROCESSABLE_ENTITY.json')
-            return (self.response_map[self.type], body, {},
+            return (self.response_map['UNPROCESSABLE'], body, {},
                     httplib.responses[self.response_map['UNPROCESSABLE']])
         body = self.fixtures.load('_v2_domains_CREATE.json')
         return (self.response_map[self.type], body, {},
@@ -151,7 +151,7 @@
                                               body, headers):
         if body is None:
             body = self.fixtures.load('_v2_domains_UNPROCESSABLE_ENTITY.json')
-            return (self.response_map[self.type], body, {},
+            return (self.response_map['UNPROCESSABLE'], body, {},
                     httplib.responses[self.response_map['UNPROCESSABLE']])
         body = self.fixtures.load('_v2_domains_testdomain_records_CREATE.json')
         return (self.response_map[self.type], body, {},
@@ -174,7 +174,7 @@
             self, method, url, body, headers):
         if body is None:
             body = self.fixtures.load('_v2_domains_UNPROCESSABLE_ENTITY.json')
-            return (self.response_map[self.type], body, {},
+            return (self.response_map['UNPROCESSABLE'], body, {},
                     httplib.responses[self.response_map['UNPROCESSABLE']])
         body = self.fixtures.load(
             '_v2_domains_testdomain_records_1234564_UPDATE.json')