added GMM-test function with
random diag cov matrix