add branchtest in slavebranch