 				@current_number = 1
 				@allowed_number = 2
 				@invite_count = 1
+				@CollaboratorsHandler.getInvitedCollaboratorCount = (project_id, callback) => callback(null, @current_number)
+				@CollaboratorsInviteHandler.getInviteCount = (project_id, callback) => callback(null, @invite_count)
+				sinon.stub @LimitationsManager, "allowedNumberOfCollaboratorsInProject", (project_id, callback) =>
+					callback(null, @allowed_number)
+				@callback = sinon.stub()
 				@LimitationsManager.canAddXCollaborators(@project_id, 1, @callback)
 
 			it "should return false", ->

				@current_number = 0
				@allowed_number = 2
				@invite_count = 2
				@LimitationsManager.canAddXCollaborators(@project_id, 1, @callback)

			it "should return false", ->

				@current_number = 100
				@allowed_number = -1
				@invite_count = 0
				@CollaboratorsHandler.getInvitedCollaboratorCount = (project_id, callback) => callback(null, @current_number)
				@CollaboratorsInviteHandler.getInviteCount = (project_id, callback) => callback(null, @invite_count)
				sinon.stub @LimitationsManager, "allowedNumberOfCollaboratorsInProject", (project_id, callback) =>
					callback(null, @allowed_number)
				@callback = sinon.stub()
				@LimitationsManager.canAddXCollaborators(@project_id, 1, @callback)

			it "should return true", ->
