Changed TopologyTest to object from class

TopologyTest was not really running if its defined as a class