Fixed tests for allowParseCustomHeader/Footer.