Mock mongo connection