Add additional unit tests for D-Bus name watching
The code coverage of gdbusnamewatching.c
is only around 80% of lines and functions, and around 50% of branches. Whole chunks of functionality like auto-starting names on the bus, are not tested.
We should add some more unit tests for it.
In particular, cover the situation which triggered !1336 (merged).