Added a harmonic oscillator test.