electrical testing code