Term: examicide
Example: man, that test was so hard i thought i was going to commit examicide
Definition: the urge to harm one self or another while struggling through an exam