GenerateExportHeader failure tests
Refactor and expand GenerateExportHeader tests. Add tests that things expected to fail actually do fail (which should help prevent something like the bug 0cbaaf2d fixed from happening again).
Refactor and expand GenerateExportHeader tests. Add tests that things expected to fail actually do fail (which should help prevent something like the bug 0cbaaf2d fixed from happening again).