test of branching