Test for circular refs.
Test for circular refs.

Currently fails, resulting in infinite recursion.

rom1504/docson,lbovet/docson,desmondmorris/docson,desmondmorris/docson,cneijenhuis/docson,cyanna/docson,cneijenhuis/docson,cyanna/docson,rom1504/docson,lbovet/docson