diff --git a/test/backend-test.js b/test/backend-test.js
index <HASH>..<HASH> 100644
--- a/test/backend-test.js
+++ b/test/backend-test.js
@@ -157,12 +157,12 @@ suite.addBatch({
 suite.addBatch({
   'connect client to backend socket': {
     topic: function () {
-      sock = socket_client('http://127.0.0.1:' + testport);
+      sock = socket_client.connect('http://127.0.0.1:' + testport);
       sock.on('connect', this.callback);
     },
 
-    'connected': function () {
-      //Connected successfully
+    'connected': function (err) {
+      assert.ifError(err);
     }
   }
 });
for some reason the test changes were not coming through