Test more cases of getSingleBranch