tests for statistical significance of clustering