Made test program for use with the three way switch