You passed your MOT because the revercing light is not a component that it checked. It could get you an advisory though.
I have this same problem, but occasionally the light works and other times it doesn’t. All other components on the rear of the car work like the wiper, so I don’t think it is...