Test mongo connectivity.