fix genesis header not being available, and the unit tests masking this