Fix MinDocCountTests when global ordinal bases impl is used
Added test the verifies if top level IndexReader closes, the global ordinal cache is also removed in the cache