Updated global header and beforeEach usage