Testing of the UV discharge system for LISA pathfinder