Branching test.
(cherry picked from commit f9e2118)