 		before () ->
 			# don't override state because we still need `state.keys`
 			state.n = 0
-			state.startKeys = localCache.getStats().keys
+			return
+
+		before () ->
+			state =
+				n: 0
+				count: 100000
+				keys: []
+				val: randomString 20
+
+			for [1..state.count]
+				key = randomString 7
+				state.keys.push key
+				localCache.set(key, state.val)
 			return
 
 		it "delete all previously set keys", () ->

			state.val.should.eql localCache.get state.key1
			return

		it "before it times out", () ->
			setTimeout(() ->
				state.n++
				res = localCache.has state.key1
				res.should.eql true
				state.val.should.eql localCache.get state.key1
				return
			, 20)
			return

		it "and after it timed out", () ->
			setTimeout(() ->
				res = localCache.has state.key1
				res.should.eql false

			state.keyValueSet[0].ttl = { a: 1 }

			(() -> localCacheMset.mset(state.keyValueSet)).should.throw({
				name: "ETTLTYPE"
				message: "The ttl argument has to be a number."
			})
			return

		return

