Validation of optimized population synthesis through mock spectra and Galactic globular clusters