diff --git a/test/client/sync-mediator.spec.js b/test/client/sync-mediator.spec.js
index <HASH>..<HASH> 100644
--- a/test/client/sync-mediator.spec.js
+++ b/test/client/sync-mediator.spec.js
@@ -55,8 +55,7 @@ describe('Test the sync via mediator', function() {
 
     it('create works.', function() {
       var ts = new Date().getTime();
-      mediator.publish('sync:'+config.datasetId+':create', {id:1, value:'test1'}, ts);
-      return mediator.promise('done:sync:'+config.datasetId+':create:'+ts)
+      return mediator.request('sync:'+config.datasetId+':create', [{id:1, value:'test1'}, ts], {uid: ts})
       .then(function() {
         return mediator.request('sync:'+config.datasetId+':list:load')
       })
Used the mediator.request promise, passing in the create arguments as an array