Commissioning of an infrared spectrometer for applications in optical pump and probe experiments