Test an oscillator