Testing the power supply