[HistoryEntry comparison] Adapting message history test sketch.