More tests for header parsing;
One bug fixed