changed the mongoose to mongo for test