diff --git a/helios/tests.py b/helios/tests.py
index 542df03339183e24e4a4c156b5a6abd53bc93054..3bd573197b062287d6dd34896d03c8f904156f66 100644
--- a/helios/tests.py
+++ b/helios/tests.py
@@ -623,8 +623,8 @@ class ElectionBlackboxTests(WebTest):
         check_user_logged_in looks for the "you're already logged" message
         """
         # vote by preparing a ballot via the server-side encryption
-        response = self.app.post("/helios/elections/%s/encrypt-ballot" % election_id, {
-                'answers_json': utils.to_json([[1]])})
+        response = self.app.post("/helios/elections/%s/encrypt-ballot" % election_id,
+                   params={'answers_json': utils.to_json([[1]])})
         self.assertContains(response, "answers")
 
         # parse it as an encrypted vote with randomness, and make sure randomness is there
@@ -637,8 +637,8 @@ class ElectionBlackboxTests(WebTest):
         encrypted_vote = ballot.serialize()
         
         # cast the ballot
-        response = self.app.post("/helios/elections/%s/cast" % election_id, {
-                'encrypted_vote': encrypted_vote})
+        response = self.app.post("/helios/elections/%s/cast" % election_id,
+                   params={'encrypted_vote': encrypted_vote})
         self.assertRedirects(response, "%s/helios/elections/%s/cast_confirm" % (settings.SECURE_URL_HOST, election_id))
 
         cast_confirm_page = response.follow()
diff --git a/requirements.txt b/requirements.txt
index 6fe0924d8eb2c50359de777244efd33163fb63ba..77a8496dd0eb5685e812314d06a41878a656212e 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -5,7 +5,7 @@ django-celery==3.1.16
 django-picklefield==0.3.0
 kombu==3.0.30
 html5lib==0.999
-psycopg2==2.6.1
+psycopg2==2.7.3.2
 pyparsing==1.5.7
 python-dateutil>=1.5
 python-openid==2.2.5
@@ -15,7 +15,7 @@ requests==2.7.0
 unicodecsv==0.9.0
 dj_database_url==0.3.0
 django-sslify==0.2.7
-django_webtest==1.7.8
+django_webtest>=1.9
 webtest==2.0.18
 django-secure==1.0.1
 bleach==1.4.1
@@ -23,4 +23,4 @@ boto==2.27.0
 django-ses==0.6.0
 validate_email==1.2
 oauth2client==1.2
-rollbar==0.12.1
\ No newline at end of file
+rollbar==0.12.1