TEst for switching triacs - works fine