fix test_stop tests