refactoring: add test for loading of cache history