Fixing test for range element in slider.