Change integrator->stopontestonly = 1 to integrator->stopontestonly = 0 to better take into account fmax