It's occured to me that you might not be sure which are UVW and which is not connected (or earth)? If so then just use a multimeter, set it to measure resistance and check the resistances between all 4 pins - you should find that 3 of them (UVW) are virtually identical, and one is open circuit.