 
 	describe "getDocUpdates", ->
 		beforeEach ->
-			@updates = ["mock-update"]
+			@results = [
+				{foo: "mock-update", v: 56},
+				{foo: "mock-update", v: 55},
+				{foo: "mock-update", v: 42},
+				{foo: "mock-update", v: 41}
+			]
+			@updates_between = [
+				{foo: "mock-update", v: 55},
+				{foo: "mock-update", v: 42}
+			]
+			@updates_after = [
+				{foo: "mock-update", v: 56},
+				{foo: "mock-update", v: 55},
+				{foo: "mock-update", v: 42}
+			]
 			@db.docHistory = {}
 			@db.docHistory.find = sinon.stub().returns @db.docHistory
 			@db.docHistory.sort = sinon.stub().returns @db.docHistory
 			@db.docHistory.limit = sinon.stub().returns @db.docHistory
-			@db.docHistory.toArray = sinon.stub().callsArgWith(0, null, @updates)
+			@db.docHistory.toArray = sinon.stub().callsArgWith(0, null, @results)
 
 			@from = 42
 			@to   = 55

					.should.equal true

			it "should call the call back with the updates", ->
				@callback.calledWith(null, @updates).should.equal true

		describe "with a limit", ->
			beforeEach ->

					.should.equal true

			it "should call the call back with the updates", ->
				@callback.calledWith(null, @results).should.equal true

		describe "with a limit", ->
			beforeEach ->
