switch: Add prop spreading tests