I wonder if the teacher did it to see where he is, like you were saying. Maybe she didn't believe that he can do what he claims and that was her way of testing him out?