IndexedPiece.add_indexer dynamic imports work

also preparing some mock classes for the "required_indices" functionality of Indexer.