Load topsort implementation with unit tests
Add circular reference error tests