added mongo connection tests