test the circuit