Testing LISA Pathfinder's optical bench for contamination