Test of scintillator readout with single photon avalanche photodiodes