Updated empty#test template and capistrano restart logic