Fix and deduplicate the test code in SwStyleNameMapper::getHashTable.

The original test code didn't work because the same pool (GET_POOLID_TXTCOLL)
 was being used for every test ID.
To cut down on duplication, I refactored the test code and
 created 'testNameTable', a protected method of SwStyleNameMapper.

Change-Id: I8a28f136df2650ec2d246f10a8698e8f462c9973
Reviewed-on: https://gerrit.libreoffice.org/8877
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Unit test for .doc export of full colour borders

This test exercises the *export* component of recent work to add support
for full colour borders in .doc import/export.

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