If you were a laboratory scientist studying rats, you might perform such a test by taking one rat colony, distributing groups of those ancestral rats among many cages with differing environments, and coming back many rat generations later to see what had happened.