Tests for restart command