tests: infrastructure for implementing mock headers.