testing for topological changes