test for write_transport_config_file