Make sure that the tests don't access the host's session bus or installed gsettings schemas. Also disable tests for some classes that leak a connection to the session bus. https://bugzilla.gnome.org/show_bug.cgi?id=711715
Use g_strcmp0() instead. Found by scan-build. https://bugzilla.gnome.org/show_bug.cgi?id=712760