Refactor SendRequestTest