Refactor client make request with tests