Text this: A parallel built-in self-test design for photon counting array