(#2636) - fix replication of deleted docs

This is just to demo the failing test. It should fail ~50% of the time, in all three adapters. No fix yet.
I also refactored this a bit, because I thought it was too verbose.