Testing the mean of skewed distributions applying the maximum likelihood estimator