A single-photon avalanche diode test chip in 150nm CMOS technology