Testing stellar population synthesis models with Sloan Digital Sky Survey colors of M31's globular clusters