Add test for the history class