add test for uniform distribution bin-wise