gdbus-introspection: Fix leaks in tests

https://bugzilla.gnome.org/show_bug.cgi?id=711802
gdbus-connection-loss: Fix leak in test

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