The answer to 'how to test rewiring' is to first turn off the power to the circuit you plan to test. Then, use a voltage tester to check that the wires are not live. Next, inspect the wiring for any damage, loose connections, or signs of wear. If everything looks good, you can test the continuity of the circuit using a multimeter. Be sure to follow all safety precautions and call a professional electrician if you're not comfortable working with electrical systems.
Regularly testing your home's electrical wiring is an important part of maintenance, but it's crucial to do so safely. Improper testing can lead to electric shocks or even fires, so it's best to have a qualified electrician handle any major electrical work.