fixing test_restart.rb