Scala sliders - tests rewritten in scala