Fix HistoryTests