[test][HistoryView] Add a test for loading history without time range