Adding tests for header
Moved requires back into main for tests