There might be ocassion where there's a need to run an IISReset as part of your Test. Here's how you do it.
// Run IIS reset to clear the chache
Process iisResetProcess = System.Diagnostics.Process.Start("cmd.exe", ConfigurationManager.AppSettings["iisResetCommand"].ToString());
In order to allow this to work, please ensure that your App.Config has the following within