Diodes are one way circuit devices, allowing voltage to pass only in one direction. If its bad, you will have voltage on both sides of the diode even if you switch the leads. The best way I think is to test resistance with an Ohm meter. You need to isolate the diode or the wiring on either side of the diode and test the resistance through the diode, then switch the leads from the meter and test again. One way should read OL or open. If you get a 0 or some resistance both directions, you have a bad diode.
By the way, diodes are specific to the application. you need to find out the rating on the diode. It is coded with colored bands on the diode body itself. And it needs to be hooked up the same way it was origionally. You should be able to find these at an electronics parts store pretty easily.