in tree tests of measure to check if distr are close