Testing mongodb connect