Tests for restart method