Tests out at 12th grade level? Are you talking about scores on a test like the WIAT? Or could he test out of most H.S. math classes?

Sounds like it's time to go into school and ask to see this teacher. I find when I'm not getting a response by email showing up helps. If you can't see the teacher, ask to see the principal or vice principal or head of the department. Even without the 504 your son should be getting an extra day to finish homework if he has missed school for an excused absence.