[16] Add unit tests for cache manager