add tests for parse_config_file
add tests for parse_config_dir