@Test
public void handlingOfDefaultServerURL() {

    serverURL = null;
    DefaultDockerCloudClient client = createClient();
    DockerImage image = waitForImage(client);
    DockerInstance instance = client.startNewInstance(image, userData);
    waitForInstanceStatus(instance, InstanceStatus.RUNNING);
    assertThat(testCloudSupport.getClientFacade().getAgentHolders().get(0).
            getEnv().get(DockerCloudUtils.ENV_SERVER_URL)).isEqualTo(defaultServerURL.toString());
}