fix header parsing with a slightly cleverer approach (though clever it
is not) and tests accordingly
Merge pull request #342 from keflavich/besancon_minor

Minor fixes to Besancon