Cyclic graph detection passes graphTests