related fdo#63230: Add unit test for fdo#44286

It fails if 6013fe19a40dd16ce435a2428f7405b51930689e is reverted.

Change-Id: Iabf13b15e3c26d7ebafdc9284642183f27723d8c
Reviewed-on: https://gerrit.libreoffice.org/9781
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>