Unit test for header and attribute data