Setup dbus mainloop in tests