Fixed test for Slider.