test the shutdown mode