better testing on headers