void loadConfig(program_config* config, const char* config_stream)
 {
+       config->scanner_url = NULL;
+       if (strlen(config_stream) == 0) {
+               return;
+       }
+
        config_line line;
        line.length = 0;
        line.line = NULL;
 
        free(config);
        config = NULL;
 }
+END_TEST
+
+START_TEST(kds_s2000w_config_read_empty_config)
+{
+       const char* input_stream = "";
+
+       program_config* config = malloc(sizeof(program_config));
+       loadConfig(config, input_stream);
+
+       ck_assert_ptr_null(config->scanner_url);
+
+       free(config);
+       config = NULL;
+}
 END_TEST
\ No newline at end of file
 
        Suite* read_config = suite_create("kds_s2000w_net_read_config");
 
        TCase* net_config_read = tcase_create("read config");
+       tcase_add_test(net_config_read, kds_s2000w_config_read_empty_config);
        tcase_add_test(net_config_read, kds_s2000w_config_read_parameter);
        suite_add_tcase(read_config, net_config_read);