SERVER-6399: fix unit tests after 'Support replacement with empty doc and log that' commit