Summary
This adds coverage to src/bitcoin-chainstate.cpp
where we get BLOCK_INVALID_HEADER
and the error message invalid proof of work or time too old
this change was motivated by this comment
You can check that you cannot find this message with test coverage by using grep
grep -nri "or time too old" ./test/functional/