Add tests for cache get utils