Test header parsing