[Faris] : Added one test for request method. Refactored request.