For mongoDB, the document sent to markProcessed will get all its changes saved along with being marked as processed or other states.
For memoryDB, this is not true, and only the state will change.
This primarily means it is difficult to trust the tests since change may cause different behaviour in mongo and memory.