add tests and ignore global headers