Fix testCurrentOperationByteCount test race condition