changed test_stability() method to evolve populations to equilibrium after perturbation