improve headers testing