Fixes web_server unit test block so it starts and stops server.