Making sure headers were not sent