Add tests for the HistoryResource