 
 			it "set", () ->
 				for key in state.keys
-					localCache.set key, state.val, (err, res) ->
-						should.not.exist err
-						true.should.eql res
-						return
+					res = localCache.set key, state.val
+					true.should.eql res
 				return
 
 			it "get", () ->
-				localCache.get state.keys[0], (err, res) ->
-					should.not.exist err
-					state.val.should.eql res
-					return
+				res = localCache.get state.keys[0]
+				state.val.should.eql res
 				return
 
 			it "mget", () ->
-				localCache.mget state.keys[0..1], (err, res) ->
-					should.not.exist err
-					# generate prediction
-					prediction = {}
-					prediction[state.keys[0]] = state.val
-					prediction[state.keys[1]] = state.val
-					prediction.should.eql res
-					return
+				res = localCache.mget state.keys[0..1]
+				# generate prediction
+				prediction = {}
+				prediction[state.keys[0]] = state.val
+				prediction[state.keys[1]] = state.val
+				prediction.should.eql res
 				return
 
 			it "del single", () ->
-				localCache.del state.keys[0], (err, count) ->
-					should.not.exist err
-					1.should.eql count
-					return
+				count = localCache.del state.keys[0]
+				1.should.eql count
 				return
 
 			it "del multi", () ->
-				localCache.del state.keys[1..2], (err, count) ->
-					should.not.exist err
-					2.should.eql count
-					return
+				count = localCache.del state.keys[1..2]
+				2.should.eql count
 				return
 
 			it "ttl", (done) ->

				return

			it "check if the key still exists", () ->
				localCache.get state.key3, (err, res) ->
					should.not.exist err
					state.val.should.eql res
					return
				return

			it "wait until ttl has ended and check if the key was deleted", (done) ->

			return

		it "set another key with ttl", () ->
			res = localCache.set state.key2, state.val, 0.5
			true.should.eql res
			return

		it "check this key immediately", () ->
			res = localCache.get state.key2
			state.val.should.eql res
			return

		it "before it times out", () ->
