fix tests failure if yanc plugin is unavailable