Buggy code:
public class SimpleTreePriorTest extends BeautiBase { @ Test public void simpleTreePriorTest ( ) throws Exception { warning ( "Load<seq2seq4repair_space>anolis.nex" ) ; importAlignment ( "examples//nexus" , new File ( "anolis.nex" ) ) ; JTabbedPaneFixture f = beautiFrame . tabbedPane ( ) ; f . selectTab ( "Priors" ) ; warning ( "Change<seq2seq4repair_space>to<seq2seq4repair_space>Coalescent<seq2seq4repair_space>-<seq2seq4repair_space>constant<seq2seq4repair_space>population" ) ; beautiFrame . comboBox ( "TreeDistribution" ) . selectItem ( "Coalescent<seq2seq4repair_space>Constant<seq2seq4repair_space>Population" ) ; printBeautiState ( f ) ; assertStateEquals ( "Tree.t:anolis" , "popSize.t:anolis" ) ; assertOperatorsEqual ( "treeScaler.t:anolis" , "treeRootScaler.t:anolis" , "UniformOperator.t:anolis" , "SubtreeSlide.t:anolis" , "narrow.t:anolis" , "wide.t:anolis" , "WilsonBalding.t:anolis" , "PopSizeScaler.t:anolis" ) ; assertPriorsEqual ( "CoalescentConstant.t:anolis" , "PopSizePrior.t:anolis" ) ; assertTraceLogEqual ( "posterior" , "likelihood" , "prior" , "treeLikelihood.anolis" , "TreeHeight.t:anolis" , "popSize.t:anolis" , "CoalescentConstant.t:anolis" ) ; warning ( "Change<seq2seq4repair_space>to<seq2seq4repair_space>Coalescent<seq2seq4repair_space>-<seq2seq4repair_space>exponential<seq2seq4repair_space>population" ) ; beautiFrame . comboBox ( "TreeDistribution" ) . selectItem ( "Coalescent<seq2seq4repair_space>Exponential<seq2seq4repair_space>Population" ) ; printBeautiState ( f ) ; assertStateEquals ( "Tree.t:anolis" , "ePopSize.t:anolis" , "growthRate.t:anolis" ) ; assertOperatorsEqual ( "treeScaler.t:anolis" , "treeRootScaler.t:anolis" , "UniformOperator.t:anolis" , "SubtreeSlide.t:anolis" , "narrow.t:anolis" , "wide.t:anolis" , "WilsonBalding.t:anolis" , "ePopSizeScaler.t:anolis" , "GrowthRateRandomWalk.t:anolis" ) ; assertPriorsEqual ( "CoalescentExponential.t:anolis" , "ePopSizePrior.t:anolis" , "GrowthRatePrior.t:anolis" ) ; assertTraceLogEqual ( "posterior" , "likelihood" , "prior" , "treeLikelihood.anolis" , "TreeHeight.t:anolis" , "CoalescentExponential.t:anolis" , "ePopSize.t:anolis" , "growthRate.t:anolis" ) ; warning ( "Change<seq2seq4repair_space>to<seq2seq4repair_space>Coalescent<seq2seq4repair_space>-<seq2seq4repair_space>BPS" ) ; beautiFrame . comboBox ( "TreeDistribution" ) . selectItem ( "Coalescent<seq2seq4repair_space>Bayesian<seq2seq4repair_space>Skyline" ) ; printBeautiState ( f ) ; assertStateEquals ( "Tree.t:anolis" , "bPopSizes.t:anolis" , "bGroupSizes.t:anolis" ) ; assertOperatorsEqual ( "treeScaler.t:anolis" , "treeRootScaler.t:anolis" , "UniformOperator.t:anolis" , "SubtreeSlide.t:anolis" , "narrow.t:anolis" , "wide.t:anolis" , "WilsonBalding.t:anolis" , "popSizesScaler.t:anolis" , "groupSizesDelta.t:anolis" ) ; assertPriorsEqual ( "BayesianSkyline.t:anolis" , "MarkovChainedPopSizes.t:anolis" ) ; assertTraceLogEqual ( "posterior" , "likelihood" , "prior" , "treeLikelihood.anolis" , "TreeHeight.t:anolis" , "BayesianSkyline.t:anolis" , "bPopSizes.t:anolis" , "bGroupSizes.t:anolis" ) ; warning ( "Change<seq2seq4repair_space>to<seq2seq4repair_space>Yule" ) ; beautiFrame . comboBox ( "TreeDistribution" ) . selectItem ( "Yule<seq2seq4repair_space>Model" ) ; printBeautiState ( f ) ; assertStateEquals ( "Tree.t:anolis" , "birthRate.t:anolis" ) ; assertOperatorsEqual ( "treeScaler.t:anolis" , "treeRootScaler.t:anolis" , "UniformOperator.t:anolis" , "SubtreeSlide.t:anolis" , "narrow.t:anolis" , "wide.t:anolis" , "WilsonBalding.t:anolis" , "YuleBirthRateScaler.t:anolis" ) ; assertPriorsEqual ( "YuleModel.t:anolis" , "YuleBirthRatePrior.t:anolis" ) ; assertTraceLogEqual ( "posterior" , "likelihood" , "prior" , "treeLikelihood.anolis" , "TreeHeight.t:anolis" , "YuleModel.t:anolis" , "birthRate.t:anolis" ) ; warning ( "Change<seq2seq4repair_space>to<seq2seq4repair_space>Birth-Death" ) ; beautiFrame . comboBox ( "TreeDistribution" ) . selectItem ( "Birth<seq2seq4repair_space>Death<seq2seq4repair_space>Model" ) ; printBeautiState ( f ) ; assertStateEquals ( "Tree.t:anolis" , "birthRate2.t:anolis" , "relativeDeathRate2.t:anolis" ) ; assertOperatorsEqual ( "treeScaler.t:anolis" , "treeRootScaler.t:anolis" , "UniformOperator.t:anolis" , "SubtreeSlide.t:anolis" , "narrow.t:anolis" , "wide.t:anolis" , "WilsonBalding.t:anolis" , "BirthRateScaler.t:anolis" , "DeathRateScaler.t:anolis" ) ; assertPriorsEqual ( "BirthDeath.t:anolis" , "BirthRatePrior.t:anolis" , "DeathRatePrior.t:anolis" ) ; <START_BUG> assertTraceLogEqual ( "posterior" , "likelihood" , "prior" , "treeLikelihood.anolis" , "TreeHeight.t:anolis" , "BirthDeath.t:anolis" ) ; <END_BUG> makeSureXMLParses ( ) ; } }

Fix:
assertTraceLogEqual ( "posterior" , "likelihood" , "prior" , "treeLikelihood.anolis" , "TreeHeight.t:anolis" , "BirthDeath.t:anolis" , "birthRate2.t:anolis" , "relativeDeathRate2.t:anolis" ) ;