Test cache method of proxy repo implementation