public void setContainerHealthCheckTest(List<String> test) {
    if (config.Healthcheck == null) {
      config.Healthcheck = new HealthCheckObjectTemplate();
    }
    Preconditions.checkNotNull(config.Healthcheck).Test = test;
  }
Sets test on HealthCheck, creates an empty HealthCheck object if necessary.

@param test the list of tests to set
jib-core/src/main/java/com/google/cloud/tools/jib/image/json/ContainerConfigurationTemplate.java