The answer is: Testing
One thing that can question the internal validity of the case above is the difficulty between the first and the second test since the psychologists never really mention it.
If, let's say that the questions on the second tests are exactly the same as the first tests or have lower difficulties compared to the first one, the better performance given by the student is not necessarily influenced by the teaching method.