Email Record: A novel PMT test system based on waveform sampling