please create a `test/unit/mock_time_headers.js` and use it here instead.

the tests should work because we don't test that the text is correct, we only test that the correct dataset properties are set.