Preparation of the ELISE test facility for long-pulse extraction of negative ion beams