Single photon detector testbench