testFavoriteHistoryDAO