To check the wiring use a couple of pins ( I used safety pins as it was all I had) and gently put them in the plug.
Then use your multimeter probes on the pins to test the switch is opening and closing...
I had to use this method to sort out my Extruder thermistor. It was a slayed socket, that I use a pin to close up in the end...
Kim