def METHOD_NAME(params):
    def doTest2(self): 
        sim1 = runSimulation(self, 40., restart=False, interval=10., **params)
        if params['keep_unsynchronized']==1:
            sim2 = rebound.Simulation("test.bin")
        else:
            sa = rebound.SimulationArchive("test.bin")
            sim2 = sa.getSimulation(sa.tmax,keep_unsynchronized=0)
        compareSim(self,sim1,sim2)
        with warnings.catch_warnings(record=True) as w:
            warnings.simplefilter("always")
            sim1.integrate(sim1.t+12.)
            sim2.integrate(sim2.t+12.)
            if params["testparticle"]==1:
                self.assertEqual(2,len(w))
            else:
                self.assertEqual(0,len(w))
        compareSim(self,sim1,sim2)
    return doTest2