AUTOUIC: Add test for the circular dependency
Follow up test for !6359 (merged).
Backport: release
Topic-rename: autogen-ui-header-depends
Edited by Brad King
Follow up test for !6359 (merged).
Backport: release
Topic-rename: autogen-ui-header-depends