Part of the contract of RecordStore::cappedTruncateAfter is to call aboutToDeleteCapped on each document being removed. This callback results in the catalog/Collection object calling the appropriate unindex methods.
However EphemeralForTestRecordStore only removes the documents.