Show yourself, house elf! I HAVE A TEST TO PASS.
Except the one in Forks. That will ever be required anywhere because no one can be that cruel.
Unless they were mistaken in their assessment and the teacher was indeed a wizard, in which case they deserve every minute of their detention sentence.