test for mean and variance parameters