 					meta: { ts: Date.now(), user_id: @user_id }
 					v: 8
 				}], (error) =>
-					console.log 2, error
-					throw error if error?
-					console.log 3
+					throw error if error?
 					TrackChangesClient.flushAndGetCompressedUpdates @project_id, @doc_id, (error, @updates) =>
-						console.log 4, error
 						throw error if error?
-						console.log 5
 						done()
 
 			it "should combine all the updates into one pack", ->


		describe "when the updates are recent and from the same user", ->
			beforeEach (done) ->
				console.log 1
				TrackChangesClient.pushRawUpdates @project_id, @doc_id, [{
					op: [{ i: "b", p: 6 }]
					meta: { ts: Date.now(), user_id: @user_id }

ObjectId = mongojs.ObjectId
Settings = require "settings-sharelatex"
request = require "request"
rclient = require("redis").createClient(Settings.redis.history) # Only works locally for now

TrackChangesApp = require "./helpers/TrackChangesApp"
