def METHOD_NAME(self):
    # https://github.com/getredash/redash/issues/597
    query = {
        "collection": "bus",
        "aggregate": [
            {
                "$geoNear": {
                    "near": {
                        "type": "Point",
                        "coordinates": [-22.910079, -43.205161],
                    },
                    "maxDistance": 100000000,
                    "distanceField": "dist.calculated",
                    "includeLocs": "dist.location",
                    "spherical": True,
                }
            }
        ],
    }
    query_data = parse_query_json(json_dumps(query))
    self.assertDictEqual(query, query_data)