diff --git a/test.py b/test.py
index <HASH>..<HASH> 100644
--- a/test.py
+++ b/test.py
@@ -25,6 +25,24 @@ def relevance():
     relevance = db.get_relevance()
     print repr(relevance)
 
+def upload():
+    s = get_session()
+    acct = Account('admin', s)
+    resp = acct.create_project('api-create-test-2')
+    if resp is not None:
+        print 'error: %s' % resp
+        return
+    db = Database('admin/api-create-test-2', 'api-create-test-2', s)
+    docs = [{'text': 'Examples are a great source of inspiration',
+             'title': 'example-1'},
+            {'text': 'W3C specifications are habitually in BNF',
+             'title': 'example-2'},
+            {'text': 'W3C specifications are inscrutible',
+             'title': 'example-3'},
+           ]
+    resp = db.upload_documents(docs)
+    print repr(resp)
+
 if __name__ == '__main__':
     dbs = main()
     print repr(dbs)
Implementing a database creation and document upload test