Fix header parsing on demand test.