Tests behave correctly in both oplog and non-oplog mode