Added printing of mean test error.