Test for header generation.