fdo#77506: (finally) write a unit test for this.

I've switched from using a Draw document to Writer document due to some
instability with Draw instance in our cppunit run.  The bug is reproducible
either way.

The test is disabled for now, since the bug has yet to be fixed.

Change-Id: I49e0417e1ecbc70f40aab8531237ae98ae58bdd3