Added tests for request module

100% test coverage for request module