adding the slider to the test