slider: Add prop spreading tests