Fix tests for change in history cache format.