Add BranchOperation
Add test for BranchOperation