In vitro host-parasite interactions and selection for resistance