chore(test): add test for cyclic error (#9305)
### Description
As mentioned in https://github.com/vercel/turborepo/issues/9270 we
currently output all strongly connected components. This PR just adds a
test to display the current behavior where we show the set of nodes and
not all cycles that might be contained in the SCC.
### Testing Instructions
Test runs and CI is green