[BUG #7710] Added more unit tests for the slider.