diff --git a/tests/TwilioTest.php b/tests/TwilioTest.php
index <HASH>..<HASH> 100644
--- a/tests/TwilioTest.php
+++ b/tests/TwilioTest.php
@@ -228,7 +228,7 @@ class TwilioTest extends PHPUnit_Framework_TestCase {
         $http->shouldReceive('get')->once()
             ->with('/2010-04-01/Accounts/AC123/Calls.json?Page=1&PageSize=50')
             ->andReturn(array(400, array('Content-Type' => 'application/json'),
-                '{"status":400,"message":"foo"}'
+                '{"status":400,"message":"foo", "code": "20006"}'
             ));
         $client = new Services_Twilio('AC123', '123', '2010-04-01', $http);
         foreach ($client->account->calls as $call) {
update test to include error code. fixes #<I>