Possibilities: 1) take a copy from the teacher's desk before the test; 2) "ace" it, or do extremely well on it. I imagine it is the second choice, but you gave no context.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.