testing the branching modus