how to test a solenoid