Added more tests for oscillator