Added test for get_topology.