Tests with mock servers.