Add HeaderSet macro and tests to verify its correct behavior.