Frequency-domain Testing of Waveform Digitizers