Addition of unit tests to ensure `Slider` only accepts numeric values.