code: function loadModelsOpeningConnection(mongooseHndl, connectionString, modelPath) {
      var mongooseX = mongooseHndl || mongoose;
      //   if(process.env.MONGO_REPLAY) {
      //        mongooseX = mongooseMock.mongooseMock as any;
      //    }
      var connStr = connectionString || 'mongodb://localhost/testdb';
      return MongoUtils.openMongoose(mongooseX, connStr).then(() => {
          return loadModels(mongooseX, modelPath);
      });
  }
docs: /*
  export function loadModelHandleP(mongooseHndl : mongoose.Mongoose, modelPath: string, connectionString? : string) : Promise<IMatch.IModels> {
  var mongooseX = mongooseHndl || mongoose;
  if(process.env.MONGO_REPLAY) {
  mongooseX = mongooseMock.mongooseMock as any;
  }
  var connStr = connectionString || 'mongodb://localhost/testdb';
  return MongoUtils.openMongoose(mongooseX, connStr).then(
  () => getMongoHandle(mongooseX)
  ).then( (modelHandle : IMatch.IModelHandleRaw) => loadModelsFull(modelHandle, modelPath));
  };