Test of Branching and merging