tests: Fix some memory leaks in the GSettings unit tests
tests: Fix some memory leaks in the GSettings unit tests

Signed-off-by: Philip Withnall <withnall@endlessm.com>

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

endlessm/glib,endlessm/glib,johne53/MB3Glib,johne53/MB3Glib,johne53/MB3Glib,johne53/MB3Glib,endlessm/glib,johne53/MB3Glib,johne53/MB3Glib,endlessm/glib,endlessm/glib