add tests on history_view