Test gating branch check