def METHOD_NAME(self):
    d = {
        "a": [{"b": 1}, {"c": {"d": 2}}],
        "e": {"f": {"g": 3}},
        "g": 4,
        "h": [5, 6],
    }
    self.assertEqual(get_mongolike(d, "g"), 4)
    self.assertEqual(get_mongolike(d, "e.f.g"), 3)
    self.assertEqual(get_mongolike(d, "a.0.b"), 1)
    self.assertEqual(get_mongolike(d, "a.1.c.d"), 2)
    self.assertEqual(get_mongolike(d, "h.-1"), 6)