A regularization approach for the analysis of X-ray solar spectra: blind tests and applications