Add tests for setup_ri_connector and setup_ro_connector.