added createConfusionMatrixTestTrees function