tests: fix patch names and g_object_unref