doctest for IndexedDepository