Testing the branching feature