testing loop_topo.py