add unit test for header class