Few XSLF tweaks, and add a unit test that shows that bug #51187 exists (problem with self references)