Updated the mongo connection tests.