A system for measuring an optical spectral response and/or IV data of a photoelectric device under test