tests for header object