Trying to fix error with last test

Maybe removing the $_COOKIE will help with headers being sent already?