add test for stochastic generator with shedding
fix shedding control for stochastic and noncontrollable generators under resolve