By dumping the image section headers that get written to the PDB, I'm also now able to write a test that LLD writes these image section headers to the PDB.
Unfortunately, I don't know of a good way to write a test that the values that get written correspond to the correct values in the actual executable.
Should be "dumping section headers stream"