Segmented undulator operation at the SPARC-FEL test facility