Updating the logic of the SliderItemManager and extending some tests.