how automated dual-wavelength switching testing works