Testcase webserver

Testcase for webserver using mock