test electrical components