add tests for topoSort