add test for restart with params