unit tests for headers