Add tests for restart and launch command