Fix last test?

Just add checking for headers_sent()?