School “spying” sparks investigations