public void simpleBmiTest() throws Exception {
final List<Instance<AttributesMap>> instances = TreeBuilderTestUtils.getInstances(10000);
final TreeBuilder tb = new TreeBuilder(new SplitDiffScorer());
final long startTime = System.currentTimeMillis();
final Tree tree = tb.buildPredictiveModel(instances);
final Node node = tree.node;
TreeBuilderTestUtils.serializeDeserialize(node);
final int nodeSize = node.size();
Assert.assertTrue(nodeSize < 400, "Tree size should be less than 400 nodes");
Assert.assertTrue((System.currentTimeMillis() - startTime) < 20000,"Building this node should take far less than 20 seconds");
}