Testing pre-main-sequence models: the power of a Bayesian approach