Build a setup like this and switch the lever.
The piston ought to be activated by the redstone wire but in 24w33a, the wire doesn't activate the piston.