add analogous test for uniform instead of gaussian