Test if gobject is present or not as we don't need it for unit tests