 					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}]}, (data, error) =>
+					@model.applyOp @name, {v:0, op:[{i:'asdf', p:0}]}, (version, error) =>
 						test.done()
 
 		'created locally is set on new docs': (test) ->

					test.deepEqual op, sentOp
					passPart()

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

					test.expect 4
					test.done()

				@model.applyOp @name, {v:0, op:[{i:'hi', p:0}]}, (version, error) ->
					test.ifError error

		'get a nonexistent document passes null to the callback': (test) ->
