add the main method in TabUtil.java  for testing the branch operation