Tests for init_mongo