Added tests for Harmonic and DoubleHarmonic potential.