Tests for stop command