Testing Infection Graphs