Tested the mongo connection with both mongo and mongoclient