 					test.deepEqual op, sentOp
 					passPart()
 
-				@model.applyOp @name, {v:0, op:sentOp}, (data, error) ->
+				@model.applyOp @name, {v:0, op:sentOp}, (version, error) ->
 					test.ifError error
 		
 		'doc only fires change ops from locally sent ops': (test) ->

					test.deepEqual op, serverTransformed
					onOpApplied()

				@model.applyOp @name, {v:0, op:serverOp}, (data, error) ->
					test.ifError error

		'doc fires both remoteop and change messages when remote ops are received': (test) ->

					throw new Error 'Should not have received op when the doc was unfollowed'
		
				doc.close =>
					@model.applyOp @name, {v:0, op:[{i:'asdf', p:0}]}, (version, error) =>
						test.done()

		'created locally is set on new docs': (test) ->
