added test cases for request.