Fixed Yarquentest database, and added some links to historyRecord