what are circuits resistors transistors diodes and capacitors testing electronic components