test for weighted extraTrees and example