Added slider with test case