Resetting the animation between tests