mocking out web server