Issue 44: add test to verify skipExistingHeaders behaviour