A food pathogen test takes days rather than hours because the laboratory must first persuade a handful of injured bacteria to multiply into billions.