added some assertions in multi_city.py.