Prepare logtomongo for upsert testing