Test of the photon detection system for the LHCb RICH Upgrade in a charged particle beam