Implemented HistoryItemTest and improved HistoryItem a bit.