how to test mongodb connection code example Example: connect to mongo database mongoose.connect(mongoURI);