Added an unit test for http module.