Test for circlar dependencies