When Adam and Andi resort to their usual punishment in response to Teddy's bad grades, his unexpected reaction catches them off guard