Undo changes to CartPole dynamicsGradientsTest.