A dog’s reluctance to drink from a bowl in a San Diego classroom led to the discovery of lead in the school’s water system, and testing of all pipes in the San Diego Unified School District will begin soon.