20 / 30 amp outlet configuration and correct wiring with what a voltmeter should read if tested as shown . Note on the 20 the common is the longer slot for the larger prong on a plug.

Click For Full-Size Image.
30 amp outlet wiring from the back

Click For Full-Size Image.
50 amp wiring showing colors as well as what correct test voltage should be

Click For Full-Size Image.
Sample idea of a multimeter or voltmeter. Red goes to hot and black goes to neutral or ground. Keep in mind if you measure only from hot to neutral you will still get a voltage reading no matter which color goes where. You will want to test to all slots to make sure all wiring is correct as per diagrams above.

Click For Full-Size Image.