Test for branching, merging and cloning