Haha. I have most certainly done this, albeit around five years ago. Maybe about...10 times or less? But this was when my tolerance was retardedly high. I didn't get nystagmus, or feel much of anything except a weak stim high and a little bit of light sensitivity. I definitely wouldn't have done it if I was actually rolling balls though. Like others have said, you will completely give yourself away because university professors are not dumb. Neither will you be able to comprehend nearly as well, and when you write your hand will get stuck to the paper and curl up on the side.
It was fine. That was in my biology of cancer class and it was actually easier to concentrate. That class consisted of nothing but PowerPoint lectures every single time, besides a few guest speakers (some from City of Hope too, so that was somewhat interesting). But the regular lectures got so repetitive and boring that I specifically dropped before that class to make it more interesting. It was an auditorium-style room with at least 50 other students so it was easy to get away with it.
I'd never take a test while on it though, and you couldn't pay me to do that either. "Spitting game" on mdma only works well if you're at a club/rave/party and the girl is on it too.
I had learned long ago that a lot of the actual public have a huge aversion to people on substances because of the bias, misinformation and general distrust in the scene and everyone involved in it. Enough dumb users have put up a bad rep on it to set up the propaganda that is ever so slowly fading at a snail pace. If you don't know the girl enough to know how she feels about mdma use, you shouldn't risk it.