add test for ESDirectoryReader cache key

If this is not implemented correctly, caches wont correctly work per-segment...