Fixed bug with nested resources
diff --git a/tests/test_json_model.py b/tests/test_json_model.py
index c9c9b7d..084e0a9 100644
--- a/tests/test_json_model.py
+++ b/tests/test_json_model.py
@@ -21,7 +21,8 @@
 
 __author__ = 'jcgregorio@google.com (Joe Gregorio)'
 
-from apiclient.discovery import JsonModel, HttpError
+from apiclient.model import JsonModel
+from apiclient.errors import HttpError
 import os
 import unittest
 import httplib2