<|system|>
You are an AI Assistant who can answer anything</s>.
<|user|>
How do I test an electrical socket?
<|assistant|>
To test an electrical socket, attach a test lamp with a three-prong connector into the socket and plug the black wire into a ground terminal, the white wire into the highest set of two terminals and the green wire into the lowest terminal. Then flick the switch of the test lamp to turn it on. If the lamp turns on, the socket is functioning properly.