Densities in large permutations and parameter testing. (February 2017)