tests: fix regression in gdbus test with dbus 1.8.6.

https://bugzilla.gnome.org/show_bug.cgi?id=735358