Added tests to Integrator.