Set Appliance State:

Mains Power Off
Gas On; Pilot On
Selector switch in HOT WATER position
WARNING! - Mains voltage is expected during test follow
TOPs P4 live testing procedure
Mains Power On

Observation:

Extinguish pilot by turning gas control knob approximately 1/12 (approximately 30 degrees) clockwise.
This will cause pilot flame to go out and gas valve to snap shut.
After a short period, a click should be heard as the mag valve closes.