Properly asserting the header body.

We might have additional stuff loaded, such as script tags from the
resource set.