[transport] updated tests to use setup_transport()