ISPN-2999 Fixed in ISPN-2281 but added tests for getCacheEntry + DIST