 #   {client, redis, db, testWrapper, driver}
 
 
-createClient = exports.createClient = (db = new Memory(), createDriver = require '../lib/inprocessdriver') ->
-  #console.log "create driver:" + createDriver
+createClient = exports.createClient = (db = new Memory(), createDriver = inprocessDriver) ->
   driver = createDriver db
-  #console.log "driver itself: " + driver.rejectSubmit
 
   testWrapper = {name:'test'}
   sdc = {guage: (->), increment:(->), timing:(->)}

    delete ops.m.ts if ops.m
  ops

`
exports.calls = function(num, fn) {
  return function(done) {
    if (num === 0) done();
    var n = 0;
    fn.call(this, function() {
      if (++n >= num) done();
    });
  };
};
`

redisLib = require 'redis'
livedb = require '../lib'
Memory = require '../lib/memory'
inprocessDriver = require '../lib/inprocessdriver'

# createRedisClient = exports.createClient = (db = new Memory()) ->
#   createDriver = require '../lib/redisdriver'
