Added tests for rendering the slider