test topology helper