Add a test for a catalog referencing itself.