I can see why you were interested in the species with more ability to think. However, animals don't really make any conscious decision to reduce reproduction, when stressed, so it won't matter in your experiment. Fruit flies are pretty easy to breed and easy to get. Just make sure they don't get loose in your home or school. You won't be too popular. I don't know much about breeding worms, but your local bait shop could probably help you out.