Test for finiteness of moments in a distribution
