hs-test: refactor test cases from no-topo suite