The diode tester is a measuring device for testing voltages of diodes. Technically the circuit just is one transistor functioning as constant current source set to either 5mA or 15mA. The diode is connected to the collector and with a small voltmeter the voltage is measured and displayed. If there are offsets you can calibrate them with R6.

And here some pictures