Use of density correlations in testing models of particle production