More toposort tests