Fix some tests that try to connect to remote servers.