Convert t-tests to be "generic" over the number of moments.

Also, use non-central/raw moments rather than centralised
ones (i.e. mean and variance). The gamma_very_small is unreliable for
NUM_MOMENTS >= 4, worth investigating.