Added tests for HistoryPage, and refactoring CallTests