Explicitly test dependency cycle detection for self-dependency