Add thread safetey check for modify_request test