Invalidate block cache for a reader on close and

Test case for reader cache
There is a invalidateAll method