writing test code for topological mapper