Add a test case for CHistory class.