Improved the success-case circular depenendency test so that it verifies that what gets returened when a circular dependency has been detected is actually valid.