Implemented unit test for request api
Merge pull request #4 from Financial-Times/unit_test_request_api

Implemented unit test for request api