CACHE-40: fixed unit testing