The tests is non-consistent and not good enough.
To quote psteitz from MATH-597:
Using testUtils.getQuartiles and chi-square is probably "best of breed." We might think about something fun like adding other quantile splits or even randomly generating quantiles (subject to bin size constraints).