Provide valid configuration file to test cases.
Refactoring.
Added http util module for testing.
More http utilities.