Nice one! I heard/read a similar story where in some math exams the teachers provided “faulty” calculators to all students in order to see which students relied to the result of the calculator screen and which of them used their logic and common knowledge to understand when a result is wrong. The calculators didn’t produce errors obvious like 1+1=3 but more like 22/7=3. Nice tactic and highly educational lesson :-)