Testing MeasureLatencyPhotonSerializer