While this phenomenon has been demonstrated under lab conditions, it was unknown whether wild worms would have a similar reaction to harmful bacteria that they encounter in their natural environment.