Fixed error in testing script

If Iron Router is present it will set up the pre route to remove alerts