Test for branching and tagging