test for restart policy